﻿using KNet.Data.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CNKI.TPI.Web.Search.Model
{
    public enum SubmitFieldType
    {
        TextBox = 1,
        ComboBox = 2,
        SingleCheckBox = 3,
        MultiCheckBox = 4,
        TimeBox = 5,
        EmailBox = 6,
        NaviBox = 7,
        KeyBox = 8,
        //ReferenceBox = 9,
        FullTestBox = 10
    }
    public class SYS_CMS_SUBMIT : BaseModel, ITable
    {
        public int SYSID { get; set; } //NAME
        public string NAME { get; set; } //NAME
        public string DBNAME { get; set; } //数据库中文名
        public string DBCODE { get; set; } //数据库编码
        public string FIELDNAME { get; set; } //字段名
        public string FIELDDISPLAYNAME { get; set; } //字段显示名
        public int FIELDTYPE { get; set; } //字段类型
        public string DEFAULTVALUE { get; set; } //默认值
        public int ISALLOWNULL { get; set; } //是否允许为空
        public int ISONLYONE { get; set; } //字段唯一性
        public string DESCRIPT { get; set; } //字段描述
        public int TYPE { get; set; } //类别
        public int SORTNUM { get; set; } //排序

        public int IsRequired { get; set; } //是否唯一CMC
        public int IsBlank { get; set; } //石否为空  cmc
    }
   
}
